package com.sword.onlysword.mapper1.games;

import com.sword.onlysword.entity.Sudoku;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.sword.onlysword.mapper.games.WebGamesMapper
 * Created by SwordLiu on 2018-02-09.
 */
@Repository
public interface SudokuMapper {

    int insert(Sudoku sudoku);

    List<Sudoku> list(@Param("difficulty") int difficulty, @Param("count") int count);
}
